package com.xin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xin.entity.shop.ShopOperateLogEntity;
import org.springframework.http.HttpRequest;
import org.w3c.dom.stylesheets.LinkStyle;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * 店铺审核日志
 */
public interface ShopOperateLogService extends IService<ShopOperateLogEntity> {

    /**
     * 添加一条店铺审核记录
     * @param shopOperateLogEntity
     * @param request
     * @return
     */
    Integer add(ShopOperateLogEntity shopOperateLogEntity, HttpServletRequest request);


    /**
     * 查看当前店铺的审核记录
     * @param shopId
     * @return
     */
    List<ShopOperateLogEntity> findByShopId(Long shopId);
}
